// @ts-nocheck
import { FormComponentProps } from 'antd/es/form';
// props校验
export interface IndexProps {
    title?: string;
    type?: string;
    brandId?: string;
    billImageList: any[];
    billName: string;
    brandList: any;
    templateJson: any;
    templateData: any;
    billJsonForm: any;
    defaultBillJson: any;
    styleEditOffTop: number;
    onUpdateStateSuper?: (params: any) => void;
    onBillSave?: (params: { templateStyle: any }) => void;
    onBack?: () => void;
}
// StyleEditProps
export interface StyleEditProps extends FormComponentProps {
    isDivider: boolean;
    cellSelectedId: string;
    cellSelectedRowId: string;
    cellSelectedBlockId: string;
    cellSelectedJson: any;
    rowSelectedJson: any;
    billJson: any;
    onEditCell: (cellSelectedBlockId: string, cellSelectedRowId: string, cellId: string, field: any) => void;
    onEditBlankDivider: (blockId: string, rowItem: any, action: string) => void;
}
// BillPreviewProps
export interface BillPreviewProps {
    billJson: any;
    type: string;
    billImageList: any[];
    cellSelectedId?: string;
    templateData: any;
    onSelectCell?: (e: any, item: any, itemRows: any, block_id: string) => void;
}
// ContentConfigProps
export interface ContentConfigProps extends FormComponentProps {
    type: string;
    brandList: any;
    billImageList: any[];
    templateJson: any;
    billJson: any;
    brandId: string;
    billName: string;
    onChooseBillJson: (action: string, blockJson: any, row_id: string, cell_id: string, blockIdlist: string[], rowIdList: string[], cellIdList: string[], parentRowIds) => void;
    onUpdateStateSuper: (params: any) => void;
    onUpdateState: (params: any) => void;
    onUploadImg: (imgType: string, item: any) => void;
    onChangeCellValue: (type: string, item: any) => void;
}
// CellListProps
export interface CellItemProps {
    type: string;
    item: any;
    itemRows: any;
    block_id: string;
    row_type: string;
    parentParam: string;
    billWidth: number;
    rowData: any;
    billImageList: any[];
    cellSelectedId: string;
    templateData: any;
    onSelectCell: (e: any, item: any, itemRows: any, block_id: string) => void;
}
export interface RowItemProps {
    // key: string,
    billWidth: number;
    block_id: string;
    itemRows: any;
    rowData: any;
    onSelectCell: (e: any, item: any, itemRows: any, block_id: string) => void;
}
// RowItemConfigProps
export interface RowItemConfigProps {
    block_id: string;
    itemRows: any;
    itemBlock: any;
    blockIdList: string[];
    rowIdList: string[];
    childNum: number;
    parentRowIds: string[];
}